<%-- 
    Document   : testeCores
    Created on : 23/10/2014, 20:02:39
    Author     : Gabriela
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <%String[] cores = new String[]{"red", "yellow", "green", "blue"};%>
        <%for(String cor: cores){%>
        <div style="background: <%=cor%>">
            <h1>Teste</h1>
        </div>
        <%}%>
    </body>
</html>
